package com.ease.component.event
{
	import flash.events.Event;
	import com.ease.common.vo.Pagination;
	import com.ease.common.vo.Ordering;

	public class PaginationEvent extends Event
	{
		public static const CHANGE:String="PaginationEvent_CHANGE";

		private var _pagination:Pagination;

		public function PaginationEvent(type:String=CHANGE, pagination:Pagination=null, ordering:Ordering=null)
		{
			super(type, true, true);
			_pagination=pagination;
		}

		public override function clone():Event
		{
			var event:PaginationEvent=new PaginationEvent(type);
			event.pagination=pagination;
			return event;
		}

		public function get pagination():Pagination
		{
			return _pagination;
		}

		public function set pagination(value:Pagination):void
		{
			_pagination=value;
		}
	}
}